<%@ Register TagPrefix="forumsAdmin" TagName="Header" Src="header.ascx" %>
<%@ Register TagPrefix="forumsAdmin" TagName="Footer" Src="footer.ascx" %>
<%@ Register TagPrefix="Forums" Namespace="AspNetForums.Controls" Assembly="AspNetForums.Controls" %>
<%@ Register TagPrefix="Components" Namespace="AspNetForums.Components" Assembly="AspNetForums.Components" %>
<%@ Page Language="c#" debug="true" CodeBehind="ManageCensorships.aspx.cs" AutoEventWireup="false" Inherits="AspNetForums.Admin.ManageCensorships" %>
<forumsAdmin:Header runat="server" id="Header1" />
		<form runat="server" ID="formManageCensorship">
			<span class="forumName"><% = ResourceManager.GetString("Censorship_Title")%></span>
			<br>
			<span class="forumThread"><% = ResourceManager.GetString("Censorship_SubTitle")%></span>
			<p>
				<asp:DataList id="dlManageCensors" runat="server" Width="100%" >
					<HeaderTemplate>
						<TABLE id="tblManageCensors" class="tableBorder" cellSpacing="1" cellPadding="3" width="100%" border="0">
							<TR>
								<TD class="column" width="75px"><% = ResourceManager.GetString("Censorship_Word")%></TD>
								<TD class="column" width="100%" nowrap=true><% = ResourceManager.GetString("Censorship_Replacement")%></TD>
								<td class="column" width="140px" nowrap="true"><% = ResourceManager.GetString("Actions")%></td>
							</TR>
					</HeaderTemplate>
					<FooterTemplate>
						<tr>
							<TD class="f">
								<asp:TextBox Runat="server" ID="txtNewCensorWord"></asp:TextBox></TD>
							<TD class="fh">
								<asp:TextBox Runat="server" ID="txtNewCensorReplacement"></asp:TextBox></TD>
							<td class="fh">
								<asp:Button ID="CreateCensor" CommandName="Create" Runat=server width="60"
									Text='<%# ResourceManager.GetString("Create")%>' ></asp:Button>
							</td>
						</tr>
						</TABLE>
					</FooterTemplate>
					<ItemTemplate>
						<TR>
							<TD class="f"><%# DataBinder.Eval(Container.DataItem, "Word") %></TD>
							<TD class="fh"><%# DataBinder.Eval(Container.DataItem, "Replacement") %></TD>
							<TD class="fh">
								<asp:Button id="EditCensor" CommandName="Edit" runat="server" width="60"
									Text='<%# ResourceManager.GetString("Edit")%>'></asp:Button>
								<asp:Button id="DeleteCensor" CommandName="Delete" runat="server" width="60"
									Text='<%# ResourceManager.GetString("Delete")%>'></asp:Button>
							</TD>
						</TR>
					</ItemTemplate>
					<EditItemTemplate>
						<TR>
							<TD class="f">
								<asp:TextBox ID="txtCensorWord" Runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Word") %>'>
								</asp:TextBox></TD>
							<TD class="fh">
								<asp:TextBox ID="txtCensorReplacement" Runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Replacement") %>'>
								</asp:TextBox></TD>
							<TD class="fh">
								<asp:Button id="UpdateCensor" runat="server" CommandName="Update" width="60"
									Text='<%# ResourceManager.GetString("Update")%>' ></asp:Button>
								<asp:Button id="CancelCensor" runat="server" CommandName="Cancel" width="60"
									Text='<%# ResourceManager.GetString("Cancel")%>' ></asp:Button>
							</TD>
						</TR>
					</EditItemTemplate>
				</asp:DataList>
		</form>
<forumsAdmin:Footer runat="server" id="Footer1" />
